[as3] list cellRenderer

Posted by lemon on Stack Overflow See other posts from Stack Overflow or by lemon
Published on 2010-01-13T04:55:47Z Indexed on 2010/03/29 5:53 UTC
Read the original article Hit count: 372

Filed under:
|
|
|

I'm quite new with as3 via cs4 so please bear with me.

I'm trying to make a phone book type list that displays the users name, cellnumber and possible a delete button.

--- 
Bob    
09XXXXXXXXX delete
--- 
Sussie 
09XXXXXXXXX delete
--- 
Johnny 
09XXXXXXXXX delete
---

I've tried making a list and added to it a XML dataprovider

<profiles>
 <profile>
  <label>Bob</label>
  ...
</profile>

It'll then display a list of names

Bob
Sussie
Johnny

But what do I have to do in order to get it print like fig 1? I know that it has something to do with CellRender but I can't seem to find any decent examples in Google.

© Stack Overflow or respective owner

Related posts about as3

Related posts about flash